package com.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.common.dto.LoginDto;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * @author xufan
 */
public interface LoginMapper extends BaseMapper {
    /**
     *  @author: xufan
     *  @Date: 2021/8/5
     *  @Description: 根据token换取用户信息
     */
    Map<String,Object> getEmployeeInfoByToken(@Param("loginDto") LoginDto loginDto);

}
